import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    userInfo: null,
    pageInfo: null
  },
  getters: {
  },
  mutations: {
    SET_USER(state, obj) {
      state.userInfo = obj
    },
    SET_PAGE(state, obj) {
      state.pageInfo = obj
    },
  },
  actions: {
  },
  modules: {
  }
})
